class Employee:
    caseNum = 0

    def __init__(self, name, age):
        self.name = name
        self.age = age
        Employee.caseNum = self.caseNum + 1

    def sayHello(self):
        print("姓名：", self.name)
        print("年龄：", self.age)
        print("职位：员工！")


Employee("杨文浩", 21)
Employee("查俞翔", 21)
Employee("陈杰", 21)

print("实例化次数:{}".format(Employee.caseNum))